package com.xbongbong.admin.model.impl;

import com.xbongbong.admin.domain.dao.PaasFormRetainDao;
import com.xbongbong.admin.domain.entity.PaasFormRetainEnity;
import com.xbongbong.admin.model.PaasFormRetainModel;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;
import java.util.Map;

/**
 * @author guohui.zhang
 * @Title: paasFormRetainModel实现类
 * @date 2020/3/1910:47
 */
@Service("paasFormRetainModel")
public class PaasFormRetainModelImpl  implements PaasFormRetainModel {
    @Resource
    private PaasFormRetainDao paasFormRetainDao;

    @Override
    public List<PaasFormRetainEnity> findEntitys(Map<String, Object> entity) {
        return paasFormRetainDao.findEntitys(entity);
//        return null;
    }

    @Override
    public Integer insertBatch(List<PaasFormRetainEnity> enities, String corpid) {
        return paasFormRetainDao.insertBatch(enities);
    }

    @Override
    public Integer deleteBatch(List<Long> list, String corpid) {
        return paasFormRetainDao.deleteBatch(list,corpid);
    }


}
